package c2;
import java.util.*;
public class c2 {
	public static void main(String[] args) {
    System.out.println("请输入,每输入一个信息用回车确认"); 
    System.out.println("最后输入一个“#”号结束输入操作"); 
    Scanner reader=new Scanner(System.in); 
    
    while(!reader.hasNext("#")){ 
       String x=reader.next(); 
       Scanner reader0=new Scanner(x);
       if(reader0.hasNextInt()) {
    	   System.out.println("整数");
       }
          else if(reader0.hasNextDouble()) {
    	   System.out.println("小数");
           }
          	else if(reader0.hasNext()) {
    	      System.out.println("字符窜");
           }//以下部分自己填写  
    }     
}
}
